package work.data.crypto
{
	public class CryptoType
	{
		/*private static var cryptoTypeList:Array=[ "xxteaAsyn"
			,  "xxtea"
			,  "aes"
			,  "aes-128-ecb"
			,  "aes-128-cbc"
			,  "aes-128-cfb"
			,  "aes-128-cfb8"
			,  "aes-128-ofb"
			,  "aes-192-cfb"
			,  "aes-256-ofb"
			,  "blowfish-cbc"
			,  "des-ecb"
			,  "xtea"
			,  "xtea-ecb"
			,  "xtea-cbc"
			,  "xtea-cfb"
			,  "xtea-cfb8"
			,  "xtea-ofb"
			,  "rc4"
			,  "simple-aes-cbc"];*/
		private static var cryptoTypeList:Array=[ "xxteaAsyn"
			,  "xxtea"];
		
		public static function getCryptoTypeList():Array
		{
			return cryptoTypeList;
		}
		public static function getCryptoTypeAt(index:uint=0):String
		{
			index=index%cryptoTypeList.length;
			return cryptoTypeList[index];
		}
	}
}